BFE\SavePost B

Total Complexity 96
Dependencies 3
Dependents 0
Total lines 569
Lines of code 419
Logical lines of code 214
Comment lines 130
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
update_or_add_post()
B
34 21 93
upload_image()
A
43 9 50
is_image_upload_needed()
A
51 9 27
fe_sanitize_image()
A
52 9 25
changing_rest_api_permission()
A
55 8 19
upload_file()
S
50 5 28
gutenberg_save_post()
S
61 5 12
post_thumb_uploading_image()
S
57 4 16
gutenberg_scripts()
S
58 4 15
after_post_update_redirect()
S
58 4 15
after_post_add_redirect()
S
58 4 15
add_post_thumbnail()
S
62 3 11
init()
S
51 1 33
insert_post()
S
64 3 10
upload_image_rest_api()
S
60 2 13
new_endpoints()
S
55 1 22
update_attachment_parent()
S
65 2 9
update_post()
S
71 2 6